package zuoye01;

public class FruitTest {
    public static void main(String[] args) {

        Fruit fruit =new Fruit();

        fruit.setName("苹果");
        fruit.setPrice(5);
        fruit.setArea("大理");
        fruit.show();
        Fruit fruit1 = new Fruit();
        fruit1.setName("香蕉");
        fruit1.setPrice(3);
        fruit1.setArea("海南");
        fruit1.show();

    }
}
